import { PartialType } from '@nestjs/mapped-types';
import { CreateBlogCategoryDto } from './create-blog_category.dto';
import { IsNotEmpty } from 'class-validator';

export class UpdateBlogCategoryDto extends PartialType(CreateBlogCategoryDto) {
  @IsNotEmpty({
    message: 'id不能为空'
  })
  id: number
}
